package com.ruoyi.index.domain;

import com.ruoyi.awards.domain.JwCompetitionAwards;
import com.ruoyi.achievements.domain.JwTeachAchievements;
import com.ruoyi.courses.domain.JwCourses;
import com.ruoyi.honors.domain.JwTeachHonors;
import com.ruoyi.projects.domain.JwEduReformProjects;
import com.ruoyi.textbooks.domain.JwTextbooks;

import java.util.List;

/**
 * Index类用于存储教学相关的各种信息
 * 
 * @author ruoyi
 * @date 2024-11-13
 */
public class Index {

    /** 教育改革项目列表 */
    private List<JwEduReformProjects> projects;

    /** 教材列表 */
    private List<JwTextbooks> textbooks;

    /** 课程列表 */
    private List<JwCourses> courses;

    /** 教学成果列表 */
    private List<JwTeachAchievements> achievements;

    /** 奖项列表 */
    private List<JwCompetitionAwards> awards;

    /** 荣誉列表 */
    private List<JwTeachHonors> honors;

    // 无参构造函数
    public Index() {
    }

    // 带参数的构造函数
    public Index(List<JwEduReformProjects> projects, List<JwTextbooks> textbooks,
                 List<JwCourses> courses, List<JwTeachAchievements> achievements,
                 List<JwCompetitionAwards> awards, List<JwTeachHonors> honors) {
        this.projects = projects;
        this.textbooks = textbooks;
        this.courses = courses;
        this.achievements = achievements;
        this.awards = awards;
        this.honors = honors;
    }

    // getter 和 setter 方法
    public List<JwEduReformProjects> getProjects() {
        return projects;
    }

    public void setProjects(List<JwEduReformProjects> projects) {
        this.projects = projects;
    }

    public List<JwTextbooks> getTextbooks() {
        return textbooks;
    }

    public void setTextbooks(List<JwTextbooks> textbooks) {
        this.textbooks = textbooks;
    }

    public List<JwCourses> getCourses() {
        return courses;
    }

    public void setCourses(List<JwCourses> courses) {
        this.courses = courses;
    }

    public List<JwTeachAchievements> getAchievements() {
        return achievements;
    }

    public void setAchievements(List<JwTeachAchievements> achievements) {
        this.achievements = achievements;
    }

    public List<JwCompetitionAwards> getAwards() {
        return awards;
    }

    public void setAwards(List<JwCompetitionAwards> awards) {
        this.awards = awards;
    }

    public List<JwTeachHonors> getHonors() {
        return honors;
    }

    public void setHonors(List<JwTeachHonors> honors) {
        this.honors = honors;
    }

    // toString 方法，用于输出对象信息
    @Override
    public String toString() {
        return "Index{" +
                "projects=" + projects +
                ", textbooks=" + textbooks +
                ", courses=" + courses +
                ", achievements=" + achievements +
                ", awards=" + awards +
                ", honors=" + honors +
                '}';
    }
}
